<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">
        <span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
    </button>
    <h4 class="modal-title">专题图片管理</h4>
</div>
{{ Form::open(array('url' => '/topic/edit-pictures/', 'role' => 'form', 'id' => 'topic-edit', 'files' => true)) }}
<div class="modal-body topic-edit-pictures">
    {{ Form::hidden('topic_id', $topicInfo->id) }}
   <ul>
   @foreach($userPictures as $picture)
       <li>
           <img src="{{ '/uploads/picture/' . $picture->thumb }}" alt="">
           {{ Form::checkbox('picture_ids[]', $picture->id, $picture->selected == 'selected'?true:false ) }}

        </li>
   @endforeach
   </ul>
   <span class="clearfix"></span>
</div>
<div class="modal-footer">
    {{ Form::submit('保存', array('class' => 'btn btn-primary')) }}
</div>
{{ Form::close() }}
